package com.TTBook.core.book.dao;

import com.TTBook.core.book.model.BookInfo;
import com.TTBook.core.book.model.BookInfoCriteria;
import java.util.List;

public interface BookInfoDAO {
    int countByCriteria(BookInfoCriteria criteria);

    int deleteByCriteria(BookInfoCriteria criteria);

    int deleteByPrimaryKey(String bookInfoId);

    void insert(BookInfo record);

    void insertSelective(BookInfo record);

    List selectByCriteria(BookInfoCriteria criteria);

    BookInfo selectByPrimaryKey(String bookInfoId);

    int updateByCriteriaSelective(BookInfo record, BookInfoCriteria criteria);

    int updateByCriteria(BookInfo record, BookInfoCriteria example);

    int updateByPrimaryKeySelective(BookInfo record);

    int updateByPrimaryKey(BookInfo record);
}